﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PSE.Framework.Process;

namespace PSE.ProcessManager.Common.Process
{
    public class ExecutorProcess : HierarchicalProcess<IProcessService>
    {
        protected override Uri GetServiceAddress()
        {
            return new Uri(string.Format("net.pipe://localhost/Executor/{0}", this.Name));
        }

        protected override TimeSpan GetStartChildTimeout()
        {
            return new TimeSpan(0, 2, 0);
        }
    }
}
